package com.web.sys.sercice;

import java.util.List;

import com.web.sys.dto.UserQueryDTO;
import com.web.sys.model.SysUser;

public interface ISysUserService {
	
	public  SysUser add(SysUser user);
	
	public void delete(String id);
	
	public void update(SysUser user);
	
	public SysUser load(String username);

	public List<SysUser> queryAllSysUser();

	public List<SysUser> queryUserform(UserQueryDTO dto);

	public String saveUserform(UserQueryDTO dto);

	public SysUser queryUserByName(String username);

	public String updateUserform(UserQueryDTO dto);

	public String deleteUserByName(String username);

	public String queryUserRole(String username);

}
